package com.dem.javatestwebsocket.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dem.javatestwebsocket.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("SELECT COUNT(*) FROM t_user")
         int selectAllCount();
}